<!DOCTYPE html>
<html lang="zh-cn" dir="ltr" class="client-nojs">
<head>
<title>长尾关键词查询api - 查询啦API</title>
<meta charset="UTF-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" href="http://api.chaxun.la/static/css/api/css/all.css?1000005" media="screen" />
<!--[if lt IE 5.5000]><link rel="stylesheet" href="http://api.chaxun.la/static/css/api/css/IE50Fixes.css" media="screen" /><![endif]-->
<!--[if IE 5.5000]><link rel="stylesheet" href="http://api.chaxun.la/static/css/api/css/IE55Fixes.css" media="screen" /><![endif]-->
<!--[if IE 6]><link rel="stylesheet" href="http://api.chaxun.la/static/css/api/css/IE60Fixes.css" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="http://api.chaxun.la/static/css/api/css/IE70Fixes.css" media="screen" /><![endif]-->
</head>
<body class="mediawiki ltr sitedir-ltr B_wiki_main  skin-monobook">
<div class="wiki_wrap">
	<div class="wiki_con">
    	<div class="con_box">
        	<div class="header noprint">
            	<a href="/" title="开发文档" class="wiki_logo">查询啦API文档</a>
            </div>
            <div class="wiki_body">
            	<div class="wiki_inner">
					<div class="main_content clearfix">
						<div class="wiki_side noprint">
							<div id="pl_web_wikiNav" class="wiki_nav">
								<ul class="nav_list">
																		<li class="n_top">
										<h3 action-type="folder"><a href ="#" onclick="return false;"><em class="wiki_icon icon_AppInfo"></em><span class="txt">平台概述</span><em class="nav_arr"></em></a></h3>	
										<ul class="child_list" >
																						<li class="n_sub"><a href="%E6%A6%82%E8%BF%B0">概述</a></li>
																						<li class="n_sub"><a href="%E6%96%B0%E6%89%8B%E6%8C%87%E5%8D%97">新手指南</a></li>
																					</ul>	
									</li>
																		<li class="n_top">
										<h3 action-type="folder"><a href ="#" onclick="return false;"><em class="wiki_icon icon_wkDoc"></em><span class="txt">登陆</span><em class="nav_arr"></em></a></h3>	
										<ul class="child_list" >
																						<li class="n_sub"><a href="%E7%99%BB%E9%99%86API">登陆API</a></li>
																						<li class="n_sub"><a href="%E6%9F%A5%E7%9C%8B%E6%98%AF%E5%90%A6%E7%99%BB%E9%99%86API">查看是否登陆API</a></li>
																					</ul>	
									</li>
																		<li class="n_top">
										<h3 action-type="folder"><a href ="#" onclick="return false;"><em class="wiki_icon icon_wkDoc"></em><span class="txt">关键词api</span><em class="nav_arr"></em></a></h3>	
										<ul class="child_list" >
																						<li class="n_sub sub_cur active"><a href="%E9%95%BF%E5%B0%BE%E5%85%B3%E9%94%AE%E8%AF%8DAPI">长尾关键词API</a></li>
																						<li class="n_sub"><a href="%E8%A1%8C%E4%B8%9A%E5%85%B3%E9%94%AE%E8%AF%8DAPI">行业关键词API</a></li>
																					</ul>	
									</li>
																		<li class="n_top">
										<h3 action-type="folder"><a href ="#" onclick="return false;"><em class="wiki_icon icon_wkDoc"></em><span class="txt">网站api</span><em class="nav_arr"></em></a></h3>	
										<ul class="child_list" >
																						<li class="n_sub"><a href="%E7%BD%91%E7%AB%99%E5%9F%BA%E6%9C%AC%E4%BF%A1%E6%81%AFAPI">网站基本信息API</a></li>
																						<li class="n_sub"><a href="%E7%BD%91%E7%AB%99%E9%A1%B6%E7%BA%A7%E5%9F%9F%E5%90%8D%E4%BF%A1%E6%81%AFAPI">网站顶级域名信息API</a></li>
																						<li class="n_sub"><a href="%E7%BD%91%E7%AB%99%E5%85%B3%E9%94%AE%E8%AF%8DAPI">网站关键词API</a></li>
																						<li class="n_sub"><a href="%E5%9C%B0%E5%8C%BA%E7%BD%91%E7%AB%99API">地区网站API</a></li>
																						<li class="n_sub"><a href="%E7%BD%91%E7%AB%99%E5%88%86%E7%B1%BBAPI">网站分类API</a></li>
																						<li class="n_sub"><a href="%E7%BD%91%E7%AB%99%E6%8E%92%E5%90%8DAPI">网站排名API</a></li>
																						<li class="n_sub"><a href="WHOIS%E6%9F%A5%E8%AF%A2API">WHOIS查询API</a></li>
																						<li class="n_sub"><a href="ALEXA%E6%9F%A5%E8%AF%A2API">ALEXA查询API</a></li>
																						<li class="n_sub"><a href="%E5%8F%8D%E9%93%BE%E6%9F%A5%E8%AF%A2API">反链查询API</a></li>
																						<li class="n_sub"><a href="%E5%A4%87%E6%A1%88%E6%9F%A5%E8%AF%A2API">备案查询API</a></li>
																						<li class="n_sub"><a href="PR%E6%9F%A5%E8%AF%A2API">PR查询API</a></li>
																						<li class="n_sub"><a href="IP%E5%8F%8D%E6%9F%A5API">IP反查API</a></li>
																						<li class="n_sub"><a href="%E5%AD%90%E5%9F%9F%E5%90%8D%E6%9F%A5%E8%AF%A2API">子域名查询API</a></li>
																						<li class="n_sub"><a href="%E7%9B%B8%E4%BC%BC%E7%BD%91%E7%AB%99%E6%9F%A5%E8%AF%A2API">相似网站查询API</a></li>
																					</ul>	
									</li>
																	</ul>
							</div>
                        </div>

                    	<div class="wiki_bodyContent" id="bodyContent">
                    								<h1 id="firstHeading" class="firstHeading">长尾关键词查询api</h1>
							<div lang="zh-cn" dir="ltr" class="mw-content-ltr"><h2 class="wiki_title"> <span id="statuses.2Fpublic_timeline">长尾关键词查询api</span></h2>
<p>通过关键词可以查询到这个关键词的长尾词.</p>

<h2 class="wiki_title"> <span id="URL">URL</span></h2>
<p><span style="text-transform:lowercase;font-weight:600"><a rel="nofollow" target="_blank" class="external free" href="http://api.chaxun.la/api/getWords/">http://api.chaxun.la/api/getWords/</a></span></p>

<h2 class="wiki_title"> <span >支持格式</span></h2>
<p><span style="text-transform:uppercase;font-weight:600">json</span></p>

<h2 class="wiki_title"> <span id="HTTP.E8.AF.B7.E6.B1.82.E6.96.B9.E5.BC.8F">HTTP请求方式</span></h2>
<p><span style="text-transform:uppercase;font-weight:600">post,get</span>
</p>
<h2 class="wiki_title"> <span >访问授权限制</span></h2>
<table border="1" cellspacing="0" cellpadding="0" width="100%" class="parameters" style="border-color: #CCCCCC;">
<tr>
	<th width="40%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc">会员级别</th>
	<th width="60%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc">访问次数</th>
</tr>
<tr>
	<td style="text-align:center;border:1px solid #cccccc">免费会员</td>
	<td style="text-align:center;text-transform:lowercase;border:1px solid #cccccc">100次/小时</td>
</tr>
<tr>
	<td style="text-align:center;border:1px solid #cccccc">一星会员</td>
	<td style="text-align:center;text-transform:lowercase;border:1px solid #cccccc">500次/小时</td>
</tr>
<tr>
	<td style="text-align:center;border:1px solid #cccccc">二星会员</td>
	<td style="text-align:center;text-transform:lowercase;border:1px solid #cccccc">1000次/小时</td>
</tr>
<tr>
	<td style="text-align:center;border:1px solid #cccccc">三星会员</td>
	<td style="text-align:center;text-transform:lowercase;border:1px solid #cccccc">3600次/小时</td>
</tr>
<tr>
	<td style="text-align:center;border:1px solid #cccccc">四星会员</td>
	<td style="text-align:center;text-transform:lowercase;border:1px solid #cccccc">6000次/小时</td>
</tr>
<tr>
	<td style="text-align:center;border:1px solid #cccccc">五星会员</td>
	<td style="text-align:center;text-transform:lowercase;border:1px solid #cccccc">10000次/小时</td>
</tr>
</table>

<h2 class="wiki_title"> <span >请求参数</span></h2>
<table border="1" cellspacing="0" cellpadding="0" width="100%" class="parameters" style="border-color: #CCCCCC;">

<tr>
<th width="10%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc">参数名</th>
<th width="5%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc">必选</th>
<th width="10%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc">类型及范围</th>
<th width="75%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc">说明</th>
</tr>
<tr>
<td style="text-align:center;font-weight:bolder;border:1px solid #cccccc">k</td>
<td style="text-align:center;text-transform:lowercase;border:1px solid #cccccc">是</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">字符串</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">关键词</td>
</tr>
<tr>
<td style="text-align:center;font-weight:bolder;border:1px solid #cccccc">page</td>
<td style="text-align:center;text-transform:lowercase;border:1px solid #cccccc">否</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">第几页，默认是1</td>
</tr>
<tr>
<td style="text-align:center;font-weight:bolder;border:1px solid #cccccc">action</td>
<td style="text-align:center;text-transform:lowercase;border:1px solid #cccccc">否</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">字符串</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">查询模式，可选项(all为全部查询,havein为必须包含)默认是all</td>
</tr>
<tr>
<td style="text-align:center;font-weight:bolder;border:1px solid #cccccc">order</td>
<td style="text-align:center;text-transform:lowercase;border:1px solid #cccccc">否</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">字符串</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">按什么排序，可选项(default,br2,bi7,bi30,biall,mediaindex,rlength,klength,jz)默认为default</td>
</tr>
<tr>
<td style="text-align:center;font-weight:bolder;border:1px solid #cccccc">sort</td>
<td style="text-align:center;text-transform:lowercase;border:1px solid #cccccc">否</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">字符串</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">排序方法，asc正序，desc倒序。默认是desc</td>
</tr>
<tr>
<td style="text-align:center;font-weight:bolder;border:1px solid #cccccc">keywordsid</td>
<td style="text-align:center;text-transform:lowercase;border:1px solid #cccccc">否</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">字符串</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">登陆成功获得的cookie字符串.详情：<a href="http://apidoc.chaxun.la/%E7%99%BB%E9%99%86API">登陆api</a></td>
</tr>
</table>
<h2 class="wiki_title"> <span >注意事项</span></h2>
<p>无</p>
<h2 class="wiki_title"> <span>调用样例及调试工具</span></h2>
<p><a rel="nofollow" class="external text" target="_blank" href="http://api.chaxun.la/?m=index&c=api&a=apitest">API测试工具</a></p>
<h2 class="wiki_title"> <span>正确返回结果 </span></h2>
<p><span style="text-transform:uppercase;font-weight:600">JSON示例</span><br /></p>
<pre>
{
	"data": [{
		"a": "\u770b\u5987\u79d1\u75c5\u6700\u4e13\u4e1a\u7684\u5987\u79d1\u533b\u9662"    

		"b": 10    

		"c": 14700000    

		"d": -1    

		"e": -1    

		"f": -1    

		"g": -1    

		"h": 75    

		"i": 0    

		"j": "\u5987\u79d1\u75c5    
\u75be\u75c5    
\u533b\u5b66    
\u533b\u5b66\u672f\u8bed    
\u533b\u7597    
\u75be\u75c5\u5927\u5168    
"
	}    

	{
		"a": "\u6700\u4e13\u4e1a\u7684\u5987\u79d1\u533b\u9662"    

		"b": 13    

		"c": 6350000    

		"d": -1    

		"e": -1    

		"f": -1    

		"g": -1    

		"h": 442    

		"i": 8    

		"j": "\u533b\u9662    
\u5987\u79d1    
\u533b\u7597    
\u4e2d\u56fd\u533b\u7597\u673a\u6784    
\u5065\u5eb7    
\u533b\u7597\u536b\u751f    
"
	}]    

	"count1": 75    

	"count2": 75    

	"time": 168    

	"bi30total": 13981    

	"buy": 1    

	"status": "1"    

	"winfo": {
		"a": "\u770b\u5987\u79d1\u75c5\u6700\u4e13\u4e1a\u7684\u5987\u79d1\u533b\u9662"    

		"b": 10    

		"c": 14700000    

		"d": -1    

		"e": -1    

		"f": -1    

		"g": -1    

		"h": 75    

		"i": 0    

		"j": "\u5987\u79d1\u75c5    
\u75be\u75c5    
\u533b\u5b66    
\u533b\u5b66\u672f\u8bed    
\u533b\u7597    
\u75be\u75c5\u5927\u5168    
"
	}
}</pre>

<h2 class="wiki_title"> <span>错误返回结果 </span></h2>
<p><span style="text-transform:uppercase;font-weight:600">JSON示例</span><br /></p>
<pre>
{
	"status": 0,
	"message": "\u5173\u952e\u8bcd\u4e0d\u80fd\u4e3a\u7a7a"
}</pre>

<h2 class="wiki_title"> <span>返回字段说明</span></h2>
<table border="1" cellspacing="0" cellpadding="0" width="100%" class="parameters" style="border-color: #CCCCCC;">
<tr>
<th width="25%" style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">返回值字段</th>
<th width="15%" style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">字段类型</th>
<th width="60%" style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">字段说明</th>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">status</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">状态码</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">a</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">字符串</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">关键词</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">b</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">推荐度</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">c</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">百度相关页</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">d</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">7天百度平均指数</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">e</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">30天百度平均指数</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">f</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">百度总平均指数</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">g</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">百度媒体指数</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">h</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">相关词数</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">i</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">推广词数</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">j</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">分类</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">count1</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">总共条数</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">count2</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">符合条件的数目</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">time</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">耗时(毫秒)</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">bi30total</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">30天百度指数总计</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">buy</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">整数</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">废弃属性</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">winfo</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">数组</td>
<td style="text-align:left;padding-left:5px;border:1px solid #cccccc">查询词本身的属性</td>
</tr>
</table>

<h2 class="wiki_title"> <span>状态码说明</span></h2>
<table border="1" cellspacing="0" cellpadding="0" width="100%" class="parameters" style="border-color: #CCCCCC;">
<tr>
<th width="40%" style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">状态码</th>
<th width="60%" style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">字段说明</th>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">1</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">正常</td>
</tr>
<tr>
<td style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc">0</td>
<td style="text-align:left;padding-left:5px;text-transform:lowercase;border:1px solid #cccccc">错误</td>
</tr>
</table>
</div>
<div id='catlinks' class='catlinks catlinks-allhidden'></div>
<div class="wiki_plus_area"> 文档更新时间: 2013年12月12日</div>
						</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="op_footer">

<div class="inner">
    <p class="links">
		<a href="http://chaxun.la/youshi.html">产品优势</a> <span class="W_vline">|</span>
		<a href="http://chaxun.la/help.html">帮助中心</a> <span class="W_vline">|</span>
		<a href="http://chaxun.la/quanxian.html">等级权限</a> <span class="W_vline">|</span>
		<a href="http://chaxun.la/about.html">联系我们</a> <span class="W_vline">|</span>
		<a href="http://chaxun.la/ad.html">广告服务</a> <span class="W_vline">|</span>
		<a href="http://chaxun.la/copyright.html">版权声明</a> <span class="W_vline">|</span>
		<a href="http://chaxun.la/friend_link.html">友情链接</a> <span class="W_vline">|</span>
		<a href="http://apidoc.chaxun.la/">API手册</a>
	</p>
    <p class="copyright W_textb">
		<span>CopyRight ©2012-2013 Inc. All Rights Reserved </span>
	</p>

</div>
</div>
<script src="http://api.chaxun.la/static/seajs/sea.js?1000005"></script>
<script type="text/javascript">
seajs.config({
	map: [
		[ '.js', '.js?1000005' ]
	],
});
</script>
<script type="text/javascript">
/*
seajs.use('dist/niubility/default/index', function(index) {
	index.api();
});
*/
</script>

</body>
</html>